<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link
	href="http://cdn.staticfile.org/jquery-mobile/1.4.5/jquery.mobile-1.4.5.min.css?version=20151214"
	rel="stylesheet" type="text/css" />
<script
	src="http://cdn.staticfile.org/jquery/1.7.1/jquery.min.js?version=20151214"
	type="text/javascript"></script>
<script
	src="http://cdn.staticfile.org/jquery-mobile/1.4.5/jquery.mobile-1.4.5.min.js?version=20151214"
	type="text/javascript"></script>
<script
	src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js?version=20151214"></script>
	
	<script
    src="js/countdown.js?version=20151214"></script>
    
<title>个人中心</title>
<style type="text/css">
#headback {
	background: url(images/pic2.png) center no-repeat;
	background-size: 100% 100%;
	-webkit-filter: blur(10px); /* Chrome, Opera */
	-moz-filter: blur(10px);
	-ms-filter: blur(10px);
	filter: blur(10px);
	height: 300px;
	opacity: 0.8;
}

.emptyback {
    height: 300px;
}

.noheight {
    height: 0px; 
    text-align: center;
}

.headcenter {
	position: relative;
	top: -260px;
	z-index: 1
}

.headname {
	/* font-weight: bold; */
	color: white;
	text-shadow: 0 0 5px #000000, 0 0 10px #000000, 0 0 10px #333333, 0 0
		30px #333333, 0 0 25px #333333;
}

.ui-content .ui-listview, .ui-panel-inner>.ui-listview
{
margin: 0;
}

.font-opacity{
color: #959595;
}
</style>
<script type="text/javascript" >
$(document).on("pagebeforeshow", "#mypage", function () {
    $("title").text("个人中心");
});
$(document).on("pagebeforeshow", "#openvip", function () {
    $("title").text("开通VIP会员");
});
$(document).on("pagebeforeshow", "#retestjob", function () {
	$("title").text("重测职业");
});
$(document).on("pagebeforeshow", "#retestlove", function () {
	$("title").text("重测爱情");
});
$(document).ready(function(){
    $("#sendMessage").on("tap",function(){
          sendMessage(this.id);
        });
});
    </script>
</head>
<body>
	<div data-role="page" id="mypage">

		<div data-role="head">
			<%-- <img src="${u.aroundAvatar}" id="${u.aroundOpenId}" /> 
				<label>${u.rate}%</label> --%>
			<div id="headback"></div>
			<div class="noheight">
				<img src="images/pic2.png" id="headpic" class="headcenter"
					height="135" /> <label style="font-size: 26px;"
					class="headcenter headname">克劳撒大人事务所</label>
				<c:choose>
					<c:when test="${vip eq true}">
						<img src="images/VIP_head.png" class="headcenter" />
					</c:when>
					<c:otherwise>
						<label style="font-size: 16px; opacity: 0.8;"
							class="headcenter headname">普通会员</label>
					</c:otherwise>
				</c:choose>
			</div>
		</div>

		<div data-role="content">
			<c:choose>
				<c:when test="${vip eq true}">
					<!-- vip -->
                   <jsp:include page="vippage.jsp"/>
				</c:when>
				<c:otherwise>
					<!-- 普通会员 -->
					<jsp:include page="normalpage.jsp"/>
					</c:otherwise>
			</c:choose>
			<ul data-role="listview">
				<!-- <li><a href="#">客服中心</a></li> -->
				<li><a href="http://create.maka.im/k/Q2362IIY">品牌故事</a></li>
				<li><a href="http://dntm.happy6.com.cn/wxif/intro.aspx">职业测评介绍</a></li>
				<li><a href="http://create.maka.im/k/HGH4EZMQ">关于我们</a></li>
			</ul>
		</div>
	</div>
	<div data-role="page" id="openvip">
       <jsp:include page="openvip.jsp"/>
    </div>
    <div data-role="page" id="retestjob">
       <jsp:include page="retestjob.jsp"/>
    </div>
    <div data-role="page" id="retestlove">
       <jsp:include page="retestlove.jsp"/>
    </div>
</body>
</html>